package com.flycent.hqhs.bean;

import net.tsz.afinal.annotation.sqlite.Id;
import net.tsz.afinal.annotation.sqlite.Table;

/**
 * @author fbl
 *  购物车数据库
 */
@Table(name = "mShopCarProduct")
public class ShopCarProduct {
	/** 数据库id  */
	@Id(column = "sid")
	private int sid; 
	/**  商品id  */
	private long id;     
	/** 名称 */
	private String name;
	/** 销售价 */
	private float price;
	/** 市场价 */
	private float marketPrice;
	/** 展示图片 */
	private String image;
	/** 是否选中 */
	private Boolean isCheck;
	/** 数量 */
	private int size;
	
	
	@Override
	public String toString() {
		return "ShopCarProduct [sid=" + sid + ", id=" + id + ", name=" + name
				+ ", price=" + price + ", marketPrice=" + marketPrice
				+ ", image=" + image + ", isCheck=" + isCheck + ", size="
				+ size + "]";
	}
	public ShopCarProduct() {
		super();
	}
	
	//
	public ShopCarProduct(long  id, int size) {
		super();
		this.id = id;
		this.size = size;
	}
	//
	public ShopCarProduct(long id, String name, float price,
			float marketPrice, String image, Boolean isCheck, int size) {
		super();
		this.id = id;
		this.name = name;
		this.price = price;
		this.marketPrice = marketPrice;
		this.image = image;
		this.isCheck = isCheck;
		this.size = size;
	}
	public int getSid() {
		return sid;
	}
	public void setSid(int sid) {
		this.sid = sid;
	}
	public long  getId() {
		return id;
	}
	public void setId(long  id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	public float getMarketPrice() {
		return marketPrice;
	}
	public void setMarketPrice(float marketPrice) {
		this.marketPrice = marketPrice;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public Boolean getIsCheck() {
		return isCheck;
	}
	public void setIsCheck(Boolean isCheck) {
		this.isCheck = isCheck;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}



}
